@import '../../styles/base.less';

.room-main {
  :global {
    .u-mask {
      z-index: 100;
    }
  }
}

.full-absolute-wrap() {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(20, 20, 22, 0.8);
  color: @text-color-invert;
}

.sharing-mask {
  .full-absolute-wrap();
  flex-direction: column;
  font-size: 26px;
  text-align: center;
  z-index: 1000;

  svg {
    font-size: 78px;
    margin-bottom: 18px;
  }

  &.minify {
    font-size: 12px;

    svg {
      font-size: 40px;
      margin-bottom: 10px;
    }
  }
}

.local-player {
  .full-absolute-wrap();
}

.local-player__container {
  position: relative;

  .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    text-align: center;
    background-color: #000;
    cursor: pointer;
    z-index: 100;
  }
}
